<?php
$this->load->view ( "static/header" );
$this->load->view ( "static/sidebar" ); 
?>
        <div class="right_col">
				 <div class="com_info">
                         <h1>Company Information</h1> 
						 <div class="entry">	
						   <table width='100%'>
						   <?php 
						     		$attributes = array ('class' => 'email', 'id' => 'myform' );
		                            echo form_open ( 'manager/CInfoMgr/doUpdate', $attributes );
		                            echo form_hidden('cpyId',$vo->getCpyId());
		                            echo '<tr><td width="20%">Company name:</td><td width="80%">'.form_input('cpyName',$vo->getCpyName(),'size="50"').'</td></tr>';
		                            echo '<tr><td>Address 1:</td><td>'.form_input('cpyAddr1',$vo->getCpyAddr1(),'size="80"').'</td></tr>';
		                            echo '<tr><td>Address 2:</td><td>'.form_input('cpyAddr2',$vo->getCpyAddr2(),'size="80"').'</td></tr>';
		                            echo '<tr><td>Tel:</td><td>'.form_input('cpyTel',$vo->getCpyTel(),'size="30"').'</td></tr>';
		                            echo '<tr><td>Fax:</td><td>'.form_input('cpyFax',$vo->getCpyFax(),'size="30"').'</td></tr>';
		                            echo '<tr><td>Email:</td><td>'.form_input('cpyEmail',$vo->getCpyEmail(),'size="50"').'</td></tr>';
		                            
		                           if ($vo->getCpyAu()) {
				                      $cpy_au = $vo->getCpyAu();
				                      $cpy_au = str_replace ( '<br/>',chr(13),  $cpy_au );
				                      $cpy_au = str_replace ( '&nbsp;',chr(32),  $cpy_au );
				                      $area = array('name'=>'cpyAu','value'=>$cpy_au,'class'=>'area','cols'=>'100','rows'=>'10');
		                            echo '<tr><td>About Us:</td><td>'.form_textarea($area).'</td></tr>';
		                           }
		                            echo '<tr><td></td><td>'.form_submit('submit','submit','class="btn"').form_reset('reset','reset','class="btn"').'</td></tr>';
						   ?>
						   </table>
						   <br />
                         </div>
				</div>
				</div>
<?php
$this->load->view ( "static/footer" );
?>